public class Test {
    public static void main(String[] args) {
        double length = 5;
        double i = 0;
        int time = 0;
        while (i < length) {
            i++;
            time++;
            length += 5;
            i = i * (length / (length - 5));
        }
        System.out.println(time);
    }
}
